// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_MST_AGENT
// * CreateDate    : 2011/9/27 11:24:17
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:17
// * LastChanger   : 2011/9/27 11:24:17
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class MstAgentTable : TableInfo
    {
		public const string C_TableName = "MST_AGENT";
		
		public const string C_AGENT_ID = "AGENT_ID";
		public const string C_AGENT_PERSON = "AGENT_PERSON";
		public const string C_PERSON_ID = "PERSON_ID";
		public const string C_REMARK = "REMARK";
		
		public MstAgentTable()
        {
            _tableName = "MST_AGENT";
        }
		
		protected static MstAgentTable _current;
        public static MstAgentTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new MstAgentTable();

            _current.Add(C_AGENT_ID, new ColumnInfo(C_AGENT_ID,"AgentId", true, typeof(string)));
            _current.Add(C_AGENT_PERSON, new ColumnInfo(C_AGENT_PERSON,"AgentPerson", false, typeof(string)));
            _current.Add(C_PERSON_ID, new ColumnInfo(C_PERSON_ID,"PersonId", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo AGENT_ID
        {
            get { return this[C_AGENT_ID]; }
        }
		
		public ColumnInfo AGENT_PERSON
        {
            get { return this[C_AGENT_PERSON]; }
        }
		
		public ColumnInfo PERSON_ID
        {
            get { return this[C_PERSON_ID]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

